package com.weimall.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class GgPzExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GgPzExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andShortnameIsNull() {
            addCriterion("ShortName is null");
            return (Criteria) this;
        }

        public Criteria andShortnameIsNotNull() {
            addCriterion("ShortName is not null");
            return (Criteria) this;
        }

        public Criteria andShortnameEqualTo(String value) {
            addCriterion("ShortName =", value, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameNotEqualTo(String value) {
            addCriterion("ShortName <>", value, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameGreaterThan(String value) {
            addCriterion("ShortName >", value, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameGreaterThanOrEqualTo(String value) {
            addCriterion("ShortName >=", value, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameLessThan(String value) {
            addCriterion("ShortName <", value, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameLessThanOrEqualTo(String value) {
            addCriterion("ShortName <=", value, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameLike(String value) {
            addCriterion("ShortName like", value, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameNotLike(String value) {
            addCriterion("ShortName not like", value, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameIn(List<String> values) {
            addCriterion("ShortName in", values, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameNotIn(List<String> values) {
            addCriterion("ShortName not in", values, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameBetween(String value1, String value2) {
            addCriterion("ShortName between", value1, value2, "shortname");
            return (Criteria) this;
        }

        public Criteria andShortnameNotBetween(String value1, String value2) {
            addCriterion("ShortName not between", value1, value2, "shortname");
            return (Criteria) this;
        }

        public Criteria andFullnameIsNull() {
            addCriterion("FullName is null");
            return (Criteria) this;
        }

        public Criteria andFullnameIsNotNull() {
            addCriterion("FullName is not null");
            return (Criteria) this;
        }

        public Criteria andFullnameEqualTo(String value) {
            addCriterion("FullName =", value, "fullname");
            return (Criteria) this;
        }

        public Criteria andFullnameNotEqualTo(String value) {
            addCriterion("FullName <>", value, "fullname");
            return (Criteria) this;
        }

        public Criteria andFullnameGreaterThan(String value) {
            addCriterion("FullName >", value, "fullname");
            return (Criteria) this;
        }

        public Criteria andFullnameGreaterThanOrEqualTo(String value) {
            addCriterion("FullName >=", value, "fullname");
            return (Criteria) this;
        }

        public Criteria andFullnameLessThan(String value) {
            addCriterion("FullName <", value, "fullname");
            return (Criteria) this;
        }

        public Criteria andFullnameLessThanOrEqualTo(String value) {
            addCriterion("FullName <=", value, "fullname");
            return (Criteria) this;
        }

        public Criteria andFullnameLike(String value) {
            addCriterion("FullName like", value, "fullname");
            return (Criteria) this;
        }

        public Criteria andFullnameNotLike(String value) {
            addCriterion("FullName not like", value, "fullname");
            return (Criteria) this;
        }

        public Criteria andFullnameIn(List<String> values) {
            addCriterion("FullName in", values, "fullname");
            return (Criteria) this;
        }

        public Criteria andFullnameNotIn(List<String> values) {
            addCriterion("FullName not in", values, "fullname");
            return (Criteria) this;
        }

        public Criteria andFullnameBetween(String value1, String value2) {
            addCriterion("FullName between", value1, value2, "fullname");
            return (Criteria) this;
        }

        public Criteria andFullnameNotBetween(String value1, String value2) {
            addCriterion("FullName not between", value1, value2, "fullname");
            return (Criteria) this;
        }

        public Criteria andAttributeIsNull() {
            addCriterion("Attribute is null");
            return (Criteria) this;
        }

        public Criteria andAttributeIsNotNull() {
            addCriterion("Attribute is not null");
            return (Criteria) this;
        }

        public Criteria andAttributeEqualTo(String value) {
            addCriterion("Attribute =", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeNotEqualTo(String value) {
            addCriterion("Attribute <>", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeGreaterThan(String value) {
            addCriterion("Attribute >", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeGreaterThanOrEqualTo(String value) {
            addCriterion("Attribute >=", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeLessThan(String value) {
            addCriterion("Attribute <", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeLessThanOrEqualTo(String value) {
            addCriterion("Attribute <=", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeLike(String value) {
            addCriterion("Attribute like", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeNotLike(String value) {
            addCriterion("Attribute not like", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeIn(List<String> values) {
            addCriterion("Attribute in", values, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeNotIn(List<String> values) {
            addCriterion("Attribute not in", values, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeBetween(String value1, String value2) {
            addCriterion("Attribute between", value1, value2, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeNotBetween(String value1, String value2) {
            addCriterion("Attribute not between", value1, value2, "attribute");
            return (Criteria) this;
        }

        public Criteria andFilenameIsNull() {
            addCriterion("FileName is null");
            return (Criteria) this;
        }

        public Criteria andFilenameIsNotNull() {
            addCriterion("FileName is not null");
            return (Criteria) this;
        }

        public Criteria andFilenameEqualTo(String value) {
            addCriterion("FileName =", value, "filename");
            return (Criteria) this;
        }

        public Criteria andFilenameNotEqualTo(String value) {
            addCriterion("FileName <>", value, "filename");
            return (Criteria) this;
        }

        public Criteria andFilenameGreaterThan(String value) {
            addCriterion("FileName >", value, "filename");
            return (Criteria) this;
        }

        public Criteria andFilenameGreaterThanOrEqualTo(String value) {
            addCriterion("FileName >=", value, "filename");
            return (Criteria) this;
        }

        public Criteria andFilenameLessThan(String value) {
            addCriterion("FileName <", value, "filename");
            return (Criteria) this;
        }

        public Criteria andFilenameLessThanOrEqualTo(String value) {
            addCriterion("FileName <=", value, "filename");
            return (Criteria) this;
        }

        public Criteria andFilenameLike(String value) {
            addCriterion("FileName like", value, "filename");
            return (Criteria) this;
        }

        public Criteria andFilenameNotLike(String value) {
            addCriterion("FileName not like", value, "filename");
            return (Criteria) this;
        }

        public Criteria andFilenameIn(List<String> values) {
            addCriterion("FileName in", values, "filename");
            return (Criteria) this;
        }

        public Criteria andFilenameNotIn(List<String> values) {
            addCriterion("FileName not in", values, "filename");
            return (Criteria) this;
        }

        public Criteria andFilenameBetween(String value1, String value2) {
            addCriterion("FileName between", value1, value2, "filename");
            return (Criteria) this;
        }

        public Criteria andFilenameNotBetween(String value1, String value2) {
            addCriterion("FileName not between", value1, value2, "filename");
            return (Criteria) this;
        }

        public Criteria andIsvoucherIsNull() {
            addCriterion("IsVoucher is null");
            return (Criteria) this;
        }

        public Criteria andIsvoucherIsNotNull() {
            addCriterion("IsVoucher is not null");
            return (Criteria) this;
        }

        public Criteria andIsvoucherEqualTo(String value) {
            addCriterion("IsVoucher =", value, "isvoucher");
            return (Criteria) this;
        }

        public Criteria andIsvoucherNotEqualTo(String value) {
            addCriterion("IsVoucher <>", value, "isvoucher");
            return (Criteria) this;
        }

        public Criteria andIsvoucherGreaterThan(String value) {
            addCriterion("IsVoucher >", value, "isvoucher");
            return (Criteria) this;
        }

        public Criteria andIsvoucherGreaterThanOrEqualTo(String value) {
            addCriterion("IsVoucher >=", value, "isvoucher");
            return (Criteria) this;
        }

        public Criteria andIsvoucherLessThan(String value) {
            addCriterion("IsVoucher <", value, "isvoucher");
            return (Criteria) this;
        }

        public Criteria andIsvoucherLessThanOrEqualTo(String value) {
            addCriterion("IsVoucher <=", value, "isvoucher");
            return (Criteria) this;
        }

        public Criteria andIsvoucherLike(String value) {
            addCriterion("IsVoucher like", value, "isvoucher");
            return (Criteria) this;
        }

        public Criteria andIsvoucherNotLike(String value) {
            addCriterion("IsVoucher not like", value, "isvoucher");
            return (Criteria) this;
        }

        public Criteria andIsvoucherIn(List<String> values) {
            addCriterion("IsVoucher in", values, "isvoucher");
            return (Criteria) this;
        }

        public Criteria andIsvoucherNotIn(List<String> values) {
            addCriterion("IsVoucher not in", values, "isvoucher");
            return (Criteria) this;
        }

        public Criteria andIsvoucherBetween(String value1, String value2) {
            addCriterion("IsVoucher between", value1, value2, "isvoucher");
            return (Criteria) this;
        }

        public Criteria andIsvoucherNotBetween(String value1, String value2) {
            addCriterion("IsVoucher not between", value1, value2, "isvoucher");
            return (Criteria) this;
        }

        public Criteria andIsmakeIsNull() {
            addCriterion("IsMake is null");
            return (Criteria) this;
        }

        public Criteria andIsmakeIsNotNull() {
            addCriterion("IsMake is not null");
            return (Criteria) this;
        }

        public Criteria andIsmakeEqualTo(String value) {
            addCriterion("IsMake =", value, "ismake");
            return (Criteria) this;
        }

        public Criteria andIsmakeNotEqualTo(String value) {
            addCriterion("IsMake <>", value, "ismake");
            return (Criteria) this;
        }

        public Criteria andIsmakeGreaterThan(String value) {
            addCriterion("IsMake >", value, "ismake");
            return (Criteria) this;
        }

        public Criteria andIsmakeGreaterThanOrEqualTo(String value) {
            addCriterion("IsMake >=", value, "ismake");
            return (Criteria) this;
        }

        public Criteria andIsmakeLessThan(String value) {
            addCriterion("IsMake <", value, "ismake");
            return (Criteria) this;
        }

        public Criteria andIsmakeLessThanOrEqualTo(String value) {
            addCriterion("IsMake <=", value, "ismake");
            return (Criteria) this;
        }

        public Criteria andIsmakeLike(String value) {
            addCriterion("IsMake like", value, "ismake");
            return (Criteria) this;
        }

        public Criteria andIsmakeNotLike(String value) {
            addCriterion("IsMake not like", value, "ismake");
            return (Criteria) this;
        }

        public Criteria andIsmakeIn(List<String> values) {
            addCriterion("IsMake in", values, "ismake");
            return (Criteria) this;
        }

        public Criteria andIsmakeNotIn(List<String> values) {
            addCriterion("IsMake not in", values, "ismake");
            return (Criteria) this;
        }

        public Criteria andIsmakeBetween(String value1, String value2) {
            addCriterion("IsMake between", value1, value2, "ismake");
            return (Criteria) this;
        }

        public Criteria andIsmakeNotBetween(String value1, String value2) {
            addCriterion("IsMake not between", value1, value2, "ismake");
            return (Criteria) this;
        }

        public Criteria andIsprintIsNull() {
            addCriterion("IsPrint is null");
            return (Criteria) this;
        }

        public Criteria andIsprintIsNotNull() {
            addCriterion("IsPrint is not null");
            return (Criteria) this;
        }

        public Criteria andIsprintEqualTo(String value) {
            addCriterion("IsPrint =", value, "isprint");
            return (Criteria) this;
        }

        public Criteria andIsprintNotEqualTo(String value) {
            addCriterion("IsPrint <>", value, "isprint");
            return (Criteria) this;
        }

        public Criteria andIsprintGreaterThan(String value) {
            addCriterion("IsPrint >", value, "isprint");
            return (Criteria) this;
        }

        public Criteria andIsprintGreaterThanOrEqualTo(String value) {
            addCriterion("IsPrint >=", value, "isprint");
            return (Criteria) this;
        }

        public Criteria andIsprintLessThan(String value) {
            addCriterion("IsPrint <", value, "isprint");
            return (Criteria) this;
        }

        public Criteria andIsprintLessThanOrEqualTo(String value) {
            addCriterion("IsPrint <=", value, "isprint");
            return (Criteria) this;
        }

        public Criteria andIsprintLike(String value) {
            addCriterion("IsPrint like", value, "isprint");
            return (Criteria) this;
        }

        public Criteria andIsprintNotLike(String value) {
            addCriterion("IsPrint not like", value, "isprint");
            return (Criteria) this;
        }

        public Criteria andIsprintIn(List<String> values) {
            addCriterion("IsPrint in", values, "isprint");
            return (Criteria) this;
        }

        public Criteria andIsprintNotIn(List<String> values) {
            addCriterion("IsPrint not in", values, "isprint");
            return (Criteria) this;
        }

        public Criteria andIsprintBetween(String value1, String value2) {
            addCriterion("IsPrint between", value1, value2, "isprint");
            return (Criteria) this;
        }

        public Criteria andIsprintNotBetween(String value1, String value2) {
            addCriterion("IsPrint not between", value1, value2, "isprint");
            return (Criteria) this;
        }

        public Criteria andPreviewIsNull() {
            addCriterion("Preview is null");
            return (Criteria) this;
        }

        public Criteria andPreviewIsNotNull() {
            addCriterion("Preview is not null");
            return (Criteria) this;
        }

        public Criteria andPreviewEqualTo(String value) {
            addCriterion("Preview =", value, "preview");
            return (Criteria) this;
        }

        public Criteria andPreviewNotEqualTo(String value) {
            addCriterion("Preview <>", value, "preview");
            return (Criteria) this;
        }

        public Criteria andPreviewGreaterThan(String value) {
            addCriterion("Preview >", value, "preview");
            return (Criteria) this;
        }

        public Criteria andPreviewGreaterThanOrEqualTo(String value) {
            addCriterion("Preview >=", value, "preview");
            return (Criteria) this;
        }

        public Criteria andPreviewLessThan(String value) {
            addCriterion("Preview <", value, "preview");
            return (Criteria) this;
        }

        public Criteria andPreviewLessThanOrEqualTo(String value) {
            addCriterion("Preview <=", value, "preview");
            return (Criteria) this;
        }

        public Criteria andPreviewLike(String value) {
            addCriterion("Preview like", value, "preview");
            return (Criteria) this;
        }

        public Criteria andPreviewNotLike(String value) {
            addCriterion("Preview not like", value, "preview");
            return (Criteria) this;
        }

        public Criteria andPreviewIn(List<String> values) {
            addCriterion("Preview in", values, "preview");
            return (Criteria) this;
        }

        public Criteria andPreviewNotIn(List<String> values) {
            addCriterion("Preview not in", values, "preview");
            return (Criteria) this;
        }

        public Criteria andPreviewBetween(String value1, String value2) {
            addCriterion("Preview between", value1, value2, "preview");
            return (Criteria) this;
        }

        public Criteria andPreviewNotBetween(String value1, String value2) {
            addCriterion("Preview not between", value1, value2, "preview");
            return (Criteria) this;
        }

        public Criteria andAllrowsIsNull() {
            addCriterion("AllRows is null");
            return (Criteria) this;
        }

        public Criteria andAllrowsIsNotNull() {
            addCriterion("AllRows is not null");
            return (Criteria) this;
        }

        public Criteria andAllrowsEqualTo(Integer value) {
            addCriterion("AllRows =", value, "allrows");
            return (Criteria) this;
        }

        public Criteria andAllrowsNotEqualTo(Integer value) {
            addCriterion("AllRows <>", value, "allrows");
            return (Criteria) this;
        }

        public Criteria andAllrowsGreaterThan(Integer value) {
            addCriterion("AllRows >", value, "allrows");
            return (Criteria) this;
        }

        public Criteria andAllrowsGreaterThanOrEqualTo(Integer value) {
            addCriterion("AllRows >=", value, "allrows");
            return (Criteria) this;
        }

        public Criteria andAllrowsLessThan(Integer value) {
            addCriterion("AllRows <", value, "allrows");
            return (Criteria) this;
        }

        public Criteria andAllrowsLessThanOrEqualTo(Integer value) {
            addCriterion("AllRows <=", value, "allrows");
            return (Criteria) this;
        }

        public Criteria andAllrowsIn(List<Integer> values) {
            addCriterion("AllRows in", values, "allrows");
            return (Criteria) this;
        }

        public Criteria andAllrowsNotIn(List<Integer> values) {
            addCriterion("AllRows not in", values, "allrows");
            return (Criteria) this;
        }

        public Criteria andAllrowsBetween(Integer value1, Integer value2) {
            addCriterion("AllRows between", value1, value2, "allrows");
            return (Criteria) this;
        }

        public Criteria andAllrowsNotBetween(Integer value1, Integer value2) {
            addCriterion("AllRows not between", value1, value2, "allrows");
            return (Criteria) this;
        }

        public Criteria andAllcopiesIsNull() {
            addCriterion("AllCopies is null");
            return (Criteria) this;
        }

        public Criteria andAllcopiesIsNotNull() {
            addCriterion("AllCopies is not null");
            return (Criteria) this;
        }

        public Criteria andAllcopiesEqualTo(Integer value) {
            addCriterion("AllCopies =", value, "allcopies");
            return (Criteria) this;
        }

        public Criteria andAllcopiesNotEqualTo(Integer value) {
            addCriterion("AllCopies <>", value, "allcopies");
            return (Criteria) this;
        }

        public Criteria andAllcopiesGreaterThan(Integer value) {
            addCriterion("AllCopies >", value, "allcopies");
            return (Criteria) this;
        }

        public Criteria andAllcopiesGreaterThanOrEqualTo(Integer value) {
            addCriterion("AllCopies >=", value, "allcopies");
            return (Criteria) this;
        }

        public Criteria andAllcopiesLessThan(Integer value) {
            addCriterion("AllCopies <", value, "allcopies");
            return (Criteria) this;
        }

        public Criteria andAllcopiesLessThanOrEqualTo(Integer value) {
            addCriterion("AllCopies <=", value, "allcopies");
            return (Criteria) this;
        }

        public Criteria andAllcopiesIn(List<Integer> values) {
            addCriterion("AllCopies in", values, "allcopies");
            return (Criteria) this;
        }

        public Criteria andAllcopiesNotIn(List<Integer> values) {
            addCriterion("AllCopies not in", values, "allcopies");
            return (Criteria) this;
        }

        public Criteria andAllcopiesBetween(Integer value1, Integer value2) {
            addCriterion("AllCopies between", value1, value2, "allcopies");
            return (Criteria) this;
        }

        public Criteria andAllcopiesNotBetween(Integer value1, Integer value2) {
            addCriterion("AllCopies not between", value1, value2, "allcopies");
            return (Criteria) this;
        }

        public Criteria andAdddateIsNull() {
            addCriterion("AddDate is null");
            return (Criteria) this;
        }

        public Criteria andAdddateIsNotNull() {
            addCriterion("AddDate is not null");
            return (Criteria) this;
        }

        public Criteria andAdddateEqualTo(Date value) {
            addCriterion("AddDate =", value, "adddate");
            return (Criteria) this;
        }

        public Criteria andAdddateNotEqualTo(Date value) {
            addCriterion("AddDate <>", value, "adddate");
            return (Criteria) this;
        }

        public Criteria andAdddateGreaterThan(Date value) {
            addCriterion("AddDate >", value, "adddate");
            return (Criteria) this;
        }

        public Criteria andAdddateGreaterThanOrEqualTo(Date value) {
            addCriterion("AddDate >=", value, "adddate");
            return (Criteria) this;
        }

        public Criteria andAdddateLessThan(Date value) {
            addCriterion("AddDate <", value, "adddate");
            return (Criteria) this;
        }

        public Criteria andAdddateLessThanOrEqualTo(Date value) {
            addCriterion("AddDate <=", value, "adddate");
            return (Criteria) this;
        }

        public Criteria andAdddateIn(List<Date> values) {
            addCriterion("AddDate in", values, "adddate");
            return (Criteria) this;
        }

        public Criteria andAdddateNotIn(List<Date> values) {
            addCriterion("AddDate not in", values, "adddate");
            return (Criteria) this;
        }

        public Criteria andAdddateBetween(Date value1, Date value2) {
            addCriterion("AddDate between", value1, value2, "adddate");
            return (Criteria) this;
        }

        public Criteria andAdddateNotBetween(Date value1, Date value2) {
            addCriterion("AddDate not between", value1, value2, "adddate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}